#ifndef SETUPWIDGET_H
#define SETUPWIDGET_H

#include <QWidget>
#include <QPushButton>
#include <QIcon>
#include <QFile>
#include <QSqlQuery>
#include <QSqlError>
#include <QSqlRecord>//数据库
#include <QDebug>
#include <QInputDialog>

namespace Ui {
class setupWidget;
}

class setupWidget : public QWidget
{
    Q_OBJECT

public:
    explicit setupWidget(QWidget *parent = 0);
    ~setupWidget();

    QPushButton* btn;
    void pushButtonClicked(int& num);//按钮图片切换
    void initTable();
private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_4_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_5_clicked();

    void on_pushButton_6_clicked();

    void on_comboBox_activated(const QString &arg1);

    void on_pushButton_7_clicked();

    void on_listWidget_currentRowChanged(int currentRow);

    void on_addbtn_clicked();

    void on_pushButton_10_clicked();

private:
    Ui::setupWidget *ui;


};


#endif // SETUPWIDGET_H
